package sh.wn36.vehiclemanage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="InsuranceRecord对象", description="")
public class InsuranceRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("车牌号码")
    private Integer carId;

    @ApiModelProperty("保险编号")
    private String insNo;

    @ApiModelProperty("保险开始日期")
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date insDate;

    @ApiModelProperty("保险类别")
    private Integer insType;

    @ApiModelProperty("保险金额")
    private Double insAmount;

    @ApiModelProperty("保险单位")
    private Integer insUnit;

    @ApiModelProperty("保险结束日期")
    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd")
    private Date expireDate;

    @ApiModelProperty("保险操作人员")
    private Integer operator;

    @ApiModelProperty("保险备注")
    private String remarks;


}
